From: Ondřej Surý Date: Mon, 3 Jan 2022 14:32:12 +0000 (+0100) Subject: Override result of AC_PROG_LN_S to fix FTBFS on ppc64el X-Git-Tag: archive/raspbian/8.4.20-1+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:sonu.itbhu%40googlemail.com//%22mailto:i18n-csb%40linuxcsb.org/%22/%22http:/www.example.com/%22mailto:sonu.itbhu%40googlemail.com/%22mailto:i18n-csb%40linuxcsb.org/%22?a=commitdiff_plain;h=b0a0fa1c559f3463ac2a62ffb2482456cc225338;p=php8.4.git Override result of AC_PROG_LN_S to fix FTBFS on ppc64el Gbp-Pq: Name 0038-Override-result-of-AC_PROG_LN_S-to-fix-FTBFS-on-ppc6.patch --- diff --git a/configure.ac b/configure.ac index 2284877e..55c9c914 100644 --- a/configure.ac +++ b/configure.ac @@ -122,6 +122,11 @@ AC_PROG_CPP AC_USE_SYSTEM_EXTENSIONS AC_PROG_LN_S +if test "$LN_S" != "ln -s"; then + AC_MSG_WARN([Overriding result of AC_PROG_LN_S, ln -s always works here]) + LN_S='ln -s' +fi + AS_VAR_IF([cross_compiling], [yes], [AC_CHECK_PROGS([BUILD_CC], [gcc clang c99 c89 cc cl], [none]) AC_MSG_CHECKING([for native build C compiler])